Resource URL: /platform/<<version=3>>/protocols/swift/accounts/<ACCOUNT>

    Overview: A standard collection for Swift Accounts.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: List a swift account.

       URL: GET /platform/<<version=3>>/protocols/swift/accounts/<ACCOUNT>

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "accounts": {
      "items": {
        "type": "object", 
        "description": "This is an account for the Swift protocol.", 
        "properties": {
          "swiftuser": {
            "type": "string", 
            "description": "User with filesystem ownership of this account"
          }, 
          "users": {
            "items": {
              "type": "string"
            }, 
            "type": "array", 
            "description": "Users who are allowed to access Swift account"
          }, 
          "zone": {
            "type": "string", 
            "description": "Name of access zone for account"
          }, 
          "swiftgroup": {
            "type": "string", 
            "description": "Group with filesystem ownership of this account"
          }, 
          "path": {
            "type": "string", 
            "description": "Path to root of Swift account"
          }, 
          "id": {
            "type": "string", 
            "description": "Unique id of swift account"
          }, 
          "name": {
            "type": "string", 
            "description": "Name of Swift account"
          }
        }
      }, 
      "type": "array"
    }, 
    "resume": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
    }
  }
}

********************************************************************************

Method PUT: Modify a Swift account

       URL: PUT /platform/<<version=3>>/protocols/swift/accounts/<ACCOUNT>

There are no query arguments for this method.

Required PUT request body fields:
name

PUT request body schema:
{
  "type": "object", 
  "description": "This is an account for the Swift protocol.", 
  "properties": {
    "swiftuser": {
      "type": "string", 
      "description": "User with filesystem ownership of this account"
    }, 
    "users": {
      "items": {
        "type": "string"
      }, 
      "type": "array", 
      "description": "Users who are allowed to access Swift account"
    }, 
    "zone": {
      "type": "string", 
      "description": "Name of access zone for account"
    }, 
    "swiftgroup": {
      "type": "string", 
      "description": "Group with filesystem ownership of this account"
    }, 
    "id": {
      "type": "string", 
      "description": "Unique id of swift account"
    }, 
    "name": {
      "required": true, 
      "type": "string", 
      "description": "Name of Swift account"
    }
  }
}

There is no response body for this method.

********************************************************************************

Method DELETE: Delete a Swift account.

          URL: DELETE /platform/<<version=3>>/protocols/swift/accounts/<ACCOUNT>

There are no query arguments for this method.

There is no response body for this method.
